package com.item.news.test;

import com.item.news.runnable.TestRunnable;

import java.util.Date;

/**
 * @ClassName xiancheng
 * @Description TODO
 * @Author WangDong
 * @Date 2019/1/21 15:39
 * @Version 1.0
 **/
public class xiancheng {

    public static void main(String[] args) {
        long time1=new Date().getTime();
        for(int i=0;i<10;i++){
            System.out.println(i+":::");
            new Thread(new TestRunnable(i)).start();
        }
        System.out.println("-------"+((new Date().getTime())-time1));
    }
}
